<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>
<form action="<?php echo url_for('ArticleCategorys/index'.(!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?>" method="post" >
            <table>
                <tr>
                <?php foreach($form as $widget): ?>
                    <?php if(!$widget->isHidden()): ?>
                            <td><?php echo $widget->renderLabel() ?></td>
                            <td><?php echo $widget->render(array('style'=>'width:100px;')) ?></td>
                            <td><?php echo ($widget->hasError() ? $widget->getError() : $widget->renderHelp()) ?> </td>
                     <?php endif ?>
                <?php endforeach; ?>
                            <td>
                               <input type="submit" value="保存信息" />
                            </td>
                </tr>
                <?php echo $form->renderHiddenFields() ?>
            </table>
</form>
